package com.wm.orderService.client;

import com.wm.commonutils.result.ResultCode;
import com.wm.commonutils.vo.CourseOrderVo;
import com.wm.servicebase.exceptionhandle.GuliException;
import org.springframework.stereotype.Component;

/**
 * @Author: sshdg
 * @Date: 2020/10/13 10:42
 */
@Component
public class CourseClientImpl implements CourseClient {
    /**
     * 根据课程id 查询课程信息
     *
     * @param id 课程id
     * @return CourseOrderVo 课程基本信息
     */
    @Override
    public CourseOrderVo getCourseInfoOrder(String id) {
        throw GuliException.from(ResultCode.REMOTE_CALL_COURSE);

    }
}
